<?php 
//prd($item);
?>
<div class="jerks view">
<h2><?php  __('Jerk');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<?php  foreach($modelObj->_schema as $field => $data) { ?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __($field); ?></dt>
			<dd<?php if ($i++ % 2 == 0) echo $class;?>>
				<?php echo $grid->displayValue($modelObj, $item, $field); ?>
				&nbsp;
			</dd>		
		<?php  } ?>

	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(sprintf(__('Edit %s', true),$modelAlias), array('action'=>'edit', $item[$modelAlias]['id'])); ?> </li>
		<li><?php echo $html->link(sprintf(__('Delete %s', true),$modelAlias), array('action'=>'delete', $item[$modelAlias]['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $item[$modelAlias]['id'])); ?> </li>
		<li><?php echo $html->link(sprintf(__('List %s', true),$modelAlias), array('action'=>'index')); ?> </li>
		<li><?php echo $html->link(sprintf(__('New %s', true),$modelAlias), array('action'=>'add')); ?> </li>
	</ul>
</div>
